package file;

import java.io.File;

public class Test7 {

    public static void main(String[] args) {

        File file = new File("D:/aaa");
        File file2 = new File("D:/bbb");
        file.renameTo(file2);

    }
}
